package com.design.decorator;

public class DecoratorShape extends AbstractShape{
    public DecoratorShape(Shape shape) {
        super(shape);
    }

    @Override
    void beforDraw() {
        System.out.println("beforDraw:" + this.shape.toString());
    }

    @Override
    void afterDraw() {
        System.out.println("afterDraw" + this.shape.toString());
    }
}
